import React from 'react';

import Constants from '../../common/Constants';
import BaseAction from '../common/BaseAction';

export default class IMSendChatAction extends BaseAction {
  constructor() {
    super();

    this.moduleType = Constants.MODULE_TYPE.NO;
    this.name = "IMSendChatAction";
  }

  finish(data, isSucceed, response) {
    let status = response ? response.status : 0
    this.caller.sendMessageFinish(isSucceed, status);
  }
}
